<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class QuserController extends Controller
{
	public $layout="application.views.layouts._admin";

	public function actionList()
	{
		$crit=new CDbCriteria();

		$count=User::model()->count($crit);
		$pages=new CPagination($count);
		$pages->pageSize=10;
		$pages->applyLimit($crit);

		$user=User::model()->findAll($crit);
		$this->render('application.views.quser._list',array(
			"user"=>$user,
			"pages"=>$pages
		));
	}

	public function actionDel()
	{
		$userid=$_GET['id'];
	}


}

?>
